package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "adv_apply_detail_tbl")
@Alias(value = "applydetailtbl")
public class ApplyDetailTbl extends PageDto {


    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @Column(name = "adv_apply_id")
    private Integer advApplyId;//申请id

    @Column(name = "adv_bundle_id")
    private Integer advBundleId;//广告套餐id


    @Column(name = "area_id")
    private Integer areaId;//投放地区id，国家，省，市都可以

    @Column(name = "leavecount")
    private Integer leavecount;//剩余播放量

    @Column(name = "start_time")
    private Long startTime;//开始时间

    @Column(name = "end_time")
    private Long endTime;//结束时间

    @Column(name = "type")
    private Integer type;//广告类型0电商广告1外卖广告


    @Column(name = "latitude")
    private String latitude;//纬度

    @Column(name = "longitude")
    private String longitude;//经度

    @Column(name = "distance")
    private Integer distance;//可配送范围，单位米


    @Column(name = "updated_time")
    private Long updatedTime;//修改时间


    @Column(name = "deleted")
    private Integer deleted;//删除


    @Column(name = "deleted_time")
    private Long deletedTime;//删除时间


    public Integer getAdvApplyId() {
        return advApplyId;
    }


    public void setAdvApplyId(Integer advApplyId) {
        this.advApplyId = advApplyId;
    }


    public Integer getAdvBundleId() {
        return advBundleId;
    }


    public void setAdvBundleId(Integer advBundleId) {
        this.advBundleId = advBundleId;
    }


    public Integer getAreaId() {
        return areaId;
    }


    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }


    public Integer getLeavecount() {
        return leavecount;
    }


    public void setLeavecount(Integer leavecount) {
        this.leavecount = leavecount;
    }


    public Long getStartTime() {
        return startTime;
    }


    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }


    public Long getEndTime() {
        return endTime;
    }


    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }


    public Integer getType() {
        return type;
    }


    public void setType(Integer type) {
        this.type = type;
    }


    public String getLatitude() {
        return latitude;
    }


    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }


    public String getLongitude() {
        return longitude;
    }


    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }


    public Integer getDistance() {
        return distance;
    }


    public void setDistance(Integer distance) {
        this.distance = distance;
    }


    public Long getUpdatedTime() {
        return updatedTime;
    }


    public void setUpdatedTime(Long updatedTime) {
        this.updatedTime = updatedTime;
    }


    public Integer getDeleted() {
        return deleted;
    }


    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }


    public Long getDeletedTime() {
        return deletedTime;
    }


    public void setDeletedTime(Long deletedTime) {
        this.deletedTime = deletedTime;
    }


}
